package ch5.CountDownLatchCase;

import util.Tools;

import java.util.concurrent.CountDownLatch;

public class SampleServiceC extends AbstractService{

    public SampleServiceC(CountDownLatch latch) {
        super(latch);
    }

    @Override
    protected void doStart() throws Exception {
        System.out.println("SampleServiceC is running...");
        Tools.randomPause(1000);
    }
}
